/*
 * @Description: 单例模式的Student类
 * 
 * @Author: rendc
 * 
 * @Date: 2025-07-31 14:46:14
 * 
 * @LastEditors: rendc
 * 
 * @LastEditTime: 2025-07-31 14:49:33
 */

public class Student {
  private static final Student student = new Student();

  // 构造方法私有化 避免类被实例化
  private Student() {
  }

  // 提供一个实例
  public static Student getStudent() {
    return student;
  }
}